package com.cd.learn.cdlearn.pattern.decorator;

public class Client {


    public static void main(String[] args) {
        Rice rice = new Rice();
        TuDouSi tuDouSi = new TuDouSi(rice);
        DaBaiCai daBaiCai = new DaBaiCai(tuDouSi);
        daBaiCai.decorator();

        System.out.println("--------------------------");
        daBaiCai.showPrice();
    }
}
